import type { PropType } from 'vue'
import type { ImgPreviewBoxImg } from '../types'

export const ImgPreviewBoxProps = {
  index: {
    type: Number,
    default: 0
  },
  list: {
    type: Array as PropType<ImgPreviewBoxImg[]>,
    default: () => {
      return []
    }
  },
  downloadBtnVisible: {
    type: Boolean,
    default: true
  },
  viewBtnVisible: {
    type: Boolean,
    default: true
  }
}
